package com.yykj.hospital.client.dto.bank;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.yykj.common.util.serializer.LocalDate2LongSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
public class DoctorBankCashApplyDTO {
    private String orderNo;

    @ApiModelProperty("医院ID")
    private Integer hospitalId;

    @ApiModelProperty("医生ID")
    private String doctorId;

    private String doctorName;

    @ApiModelProperty("提现总额")
    private BigDecimal total;

    @ApiModelProperty("提现手续费")
    private BigDecimal applyFee;

    @ApiModelProperty("到账金额")
    private BigDecimal amount;

    @ApiModelProperty("银行卡号")
    private String bankCardNo;

    @ApiModelProperty("申请时间")
    @JsonSerialize(using = LocalDate2LongSerializer.class)
    private LocalDateTime addTime;

    @ApiModelProperty("完成时间")
    @JsonSerialize(using = LocalDate2LongSerializer.class)
    private LocalDateTime finisTime;

    @ApiModelProperty("申请状态 0：申请中，1：审核通过，2：审核拒绝")
    private Integer status;

    @ApiModelProperty("备注")
    private String remark;
}
